/*
编写 : Hexh
时间 : 2013-4-26 11:50:43
*/
using System.Collections.Generic;
using HMIS.FrameWork;
using HMIS.FrameWork.DomainBase;
using HMIS.Infrastructure.Core.Entities;

namespace HMIS.Infrastructure.Facade
{
	/// <summary>
	///	 the interface of IInfraMxsqFacade
	/// </summary>
	public interface IInfraMxsqFacade : IDomainFacade
	{

		InfraMxsq Get(string id);

		InfraMxsq Load(string id);

		void SaveOrUpdate(InfraMxsq entity);

		void Delete(string id);

		void PhysicsDelete(string id);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExistWhere(string fieldName, string fieldValue, string id, string where);

		IList<InfraMxsq> GetAll();

		IList<InfraMxsq> GetPlist(string query, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

		string GetNewId(string sqnocd, string sqnodp, string sqnodt);
	}
}
